package com.hz.house.dao;

import com.hz.house.bean.entity.ArticleCountBean;
import com.hz.house.bean.entity.ArticleDetailBean;
import com.hz.house.bean.entity.SellManDynamic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ArticleMapper {

    List<ArticleDetailBean> getArticleList(@Param("page") int page,@Param("size") int size,@Param("type") Integer type);

    Integer getArticleTotal(Integer type);

    ArticleDetailBean getArticleDetail(Integer id);

    List<SellManDynamic> getSellManDyns(@Param("page") int page,@Param("size") int size);

    Integer getDynamicTotal();

    List<ArticleDetailBean> getManuscriptList(@Param("page") int i,@Param("size") int size);

    Integer getManuscriptTotal();

    void addVisits(List<ArticleCountBean> acs);
}
